<?php
include "../../config/connection.php";
$q = strtolower($_GET["q"]);
//if (!$q) return;
if(isset($_GET['q'])){
$stmt = oci_parse($con,"select employee_name from m_employee where employee_name like '%$q%'");
		// Execute the completed statement.
    	oci_execute($stmt, OCI_DEFAULT);
		while (oci_fetch($stmt)) 
		{
    		//$company_id      = oci_result($stmt, "COMPANY_ID");
    		$employee_name       = oci_result($stmt, "EMPLOYEE_NAME");
    		
			echo "$employee_name\n";
    	}
    	oci_free_statement($stmt); 
}
?>